<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td class="border2">
    
        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{language text="top_users"}: {$sGender}</td>
        </tr>
        </table>
        
        <table width="100%" cellpadding="0" cellspacing="0" border="0">
        {foreach from=$aTopUsers item=aUser name=top_users}
            <tr class="{if $smarty.foreach.top_users.iteration %2}border13{/if}">
                <td style="text-align:left;vertical-align:middle;">
                    <table style="width:100%;">
                        <tr>
                            <td style="width:10%;text-align:center;vertical-align:top;">
                            <div style="font-size:11pt;"><b>#{$smarty.foreach.top_users.iteration}</b></div>
                            </td>
                            <td style="width:50%;text-align:center;">
                                <a href="{url link='public.user' name=$aUser.user}">
                                    {Account::Avatar sUser=$aUser.user iSize=75 class="pic1" onmouseover="showInfo5('`$aUser.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
                                </a>
                            </td>
                            <td style="width:40%;vertical-align:top;font-size:8pt;" class="color">
                            <div style="padding-top:4px;"><a href="{url link='public.user' name=$aUser.user}">{$aUser.user}</a></div>
                            <br />
                            <div style="padding-top:4px;font-size:10pt;"><b>{language text="rating"}</b>: {$aUser.user_rating|string_format:"%0.2f"}</div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        {foreachelse}
            <tr>
                <td style="font-size:8pt;width:100%;vertical-align:top;" class="color">
                    <div class="message_info">{language text="there_are_no_rated_users_yet"}</div>
                </td>
            </tr>
        {/foreach}
        </table>
    </td>
</tr>
</table>